After learning Sheldon went behind their backs to work with the military again, Leonard and Howard say Sheldon is like Thomas Edison, taking credit for others' ideas, while they are more like Nikola Tesla. Leonard and Howard bring in Barry Kripke to help create a better idea than Sheldon's, but Kripke goes to the military himself, cutting all three of them out. Meanwhile, Bernadette fears Ruchi is trying to steal her projects at work while she is on maternity leave and enlists Raj to spy on her. Though he finds proof that Ruchi may be stealing from Bernadette, Raj tries to defend Ruchi like a boyfriend would, pointing out Bernadette's hypocrisy as she would most likely have stolen from other people's projects as well. Ruchi is not happy about this and promptly dumps Raj.
Filming proceeds smoothly – makeup artists do touch-ups, a prop master replenishes the pickle supply – with humor and camaraderie between takes. When a reshoot is needed because Simon Helberg, who plays Howard, held his napkin in the wrong hand, Kaley Cuoco, who plays Penny, lifts her food box high and mockingly asks, “Does it go over my head? I don’t remember.”
Sheldon cannot find the perfect wedding date and begins talking in his sleep, adopting the persona of a laid-back person who goes with the flow. Amy and Penny believe that his subconscious mind is trying to tell him to be more relaxed; his attempt to be so while wearing flip-flops ends in disaster. He decides to leave all the wedding planning to Amy while he wears a Star Trek uniform underneath his tuxedo. Meanwhile, Raj and Stuart both become interested in Bernadette's new coworker Ruchi. While she likes them both as friends, she does not want a relationship with anyone.
When Raj misses out on a job at the planetarium, his father says he has no confidence because Howard always makes fun of him. Raj distances himself from Howard and later gets the job. Howard is hurt by this (even after apologizing to him) and tries to make amends with Raj after his first performance at the planetarium but, when he sees him get a date, he leaves without speaking to him, thinking that the latter's life is better without him. Meanwhile, Sheldon and Amy try randomly dividing up wedding tasks, but they keep arguing. The only thing they can agree on is to get married, so they decide to just get married at City Hall. However, Sheldon decides that he wants a first dance with his new wife and they go home to plan their wedding.