Jerry and Elaine have just ended their relationship, but have chosen to remain friends. Elaine invites Jerry to a birthday party; he agrees to go on the condition that she accompanies him to a wedding that he and his parents have been invited to. At the party, Jerry meets an attractive woman. He wants to flirt with her, but is uncomfortable doing so because of Elaine's presence. The woman leaves with another man before Jerry finds out her name; however, he learns that she works a law firm called "Sagman, Bennett, Robbins, Oppenheim and Taft". During the party, Elaine tries to tell Jerry about a dream she had, which featured him. Jerry tries to end the conversation but this results in argument after the party is over.
Back at his apartment, Jerry's parents Morty and Helen sleep over, with Jerry sleeping in Kramer's apartment. He talks about the party and claims that he cannot get the phone number of the woman from Elaine because he does not talk about other women with her; additionally, she is still angry with him. Morty suggests that Jerry "stake out" the woman by waiting outside her office, an idea which Jerry likes. The following day, Jerry and George Costanza perform the stake out, pretending that they are coming to see someone else in the building called "Art Vandalay". They manage to meet the woman, whose name is Vanessa. It also turns out that the man she was with was Vanessa's cousin. The two then decide to go out on a date.
Later that night, Jerry finds out from his mother that Elaine knows about the stake out. On the day of the wedding, Elaine tells Jerry that the reason that she was angry was because it was the first time she saw him flirt with another woman. They decide that they have be able to talk more about their relationships if they wish to remain friends. Elaine then reveals that she has recently met a man using a stake out.