Speaking with Comic Book, Rogue One screenwriter Gary Whitta revealed how the character storylines for Jyn Erso and Luke Skywalker share some basic similarities, specifically the way each of them deal with the topic of redemption for their respective fathers.

“We came up with the idea that her father wasn’t killed, but he was kind of abducted by the Empire and forced to work on the Death Star, and that’s was kind of, I think, the big eureka moment for us when we figured out the idea that the father should be the scientist who kind of reluctantly helped the Empire build the Death Star, but was determined in someway to find a way out, to kind of undo the terrible wrong that he’d been forced to commit.”

Based on this organic plot development they had worked out, they happily came across a parallel between Jyn Erso’s journey compared to that of Luke Skywalker.

“So designing the flaw into the Death Star and then getting that information to his daughter, and in the same way that in the original Star Wars films, you know, Luke is trying to kind of redeem his father,” Whitta said. “I feel that in our film, in much in the same way Jyn’s trying to redeem hers, by completing the job that he started. By putting that fatal flaw in the Death Star and then trying to get the plans to the Rebellion so they can exploit it.”