Roger convinces that "The Tales of the Arabian Nights" would be a good manual on how a genie should act to his master. Tony tells Jeannie to read it, but Roger didn't let him know that it was about stories of genies who torture their masters.
After Tony accepts job in the private sector, Tony and Jeannie check up on his future and find it very successful. Fooling Tony into thinking things will be horrible, he still takes the job because he feels that the aerospace industry needs him.
Learning that genies lose their powers if they marry a mortal, Tony proposes to Jeannie. After Roger and Jeannie learn that their children might get magical powers, Jeannie keeps Roger away so that Tony won't learn that little fact.