Simon Kinberg recently opened up about his involvement in “Star Wars: The Force Awakens.” The American screenwriter reportedly helped the film’s writer Michael Arndt and co-writer Lawrence Kasdan break the story of the film.

“I’m like a friend of the court. I consult on the movies. I worked on VII: helped break the story, read scripts, drafts at certain points, and gave my thoughts, whatever they were worth,” he said to Entertainment Weekly.

Kinberg also helped in conceiving the plot for the coming “Star Wars: Episode VIII” and “Star Wars: Episode IX,” he told the website. He reportedly spent days discussing ideas with Arndt and Kasdan, during a retreat at Skywalker Ranch.

“Like a TV writers room, we spent a week with a whiteboard and some pens and were in a conference room all day talking about VII, VIII and IX. But it’s a whiteboard covered in our notes. We had a sense of what we each wanted to write,” he said.

He added that he had a “magical time” writing and discussing the “Star Wars” movies. “Star Wars: Force Awakens” has been set 30 years after the events of 1983 film “Return of The Jedi.” The film will see return of the characters from previous films and also features new actors including John Boyega as Finn, Daisey Ridley as Rey and Oscar Isaac as Poe Doremon.

J.J. Abrams has directed the film, and it will open in the theaters on Dec. 18, 2015. Abrams has also written the screenplay of the film alongside Kasdan.

Meanwhile, “Star Wars: Episode VIII,” will be directed by Rian Johnson. He has also written the screenplay of the film based on the characters created by George Lucas. It is scheduled to be released on May 26, 2017, and Isaac is set to return as Poe Doremon, as he confirmed to Slash Film.

The director for “Star Wars: Episode IX” has yet to be confirmed.  It will be released in 2019.