<P> The episode was the first of the series to run as a "supersized" episode, featuring twenty - eight minutes and twenty seconds of content rather than the standard twenty minutes and thirty seconds . In addition, the episode was the first of the series to be written by Carell; he had suggested the idea for the episode to executive producer Greg Daniels, who thoroughly enjoyed the idea and green lit the script . "Casino Night" also introduces the musical exploits of Kevin Malone, played by Brian Baumgartner . The episode received wide acclaim from television critics and earned a Nielsen rating of 3.9 in the 18--49 demographic, being seen by 7.7 million viewers . It is generally considered by both critics and audiences to be one of the show's greatest episodes . </P> <P> Michael Scott (Steve Carell) organizes a casino charity event in the warehouse, and unwittingly winds up with two dates for the evening, his boss Jan Levinson (Melora Hardin) and his real - estate agent Carol Stills (Nancy Carell). Jim Halpert (John Krasinski) and Pam Beesly (Jenna Fischer) go through audition tapes for her wedding band and discover that colleague Kevin Malone (Brian Baumgartner) has his own band . Jim, upset about Pam's impending marriage to Roy Anderson (David Denman), tells the documentary crew that he met with Jan about transferring to the Stamford, Connecticut branch of Dunder Mifflin because he has "no future here ." </P> <P> During Casino Night, Dwight Schrute (Rainn Wilson) wins a game of craps and kisses Angela Martin (Angela Kinsey) on the cheek, disregarding their attempts to keep their intimate relationship a secret . She slaps him and walks away, the two quietly enjoying the experience . Jan and Carol share an awkward conversation when they realize Michael has invited them both . Jim tells Jan that he's made a decision about the transfer . After Roy leaves, Jim tells Pam that he is in love with her . After a stunned pause, she states she cannot be with him . He tells her he wants to be more than friends, but she is sorry he "misinterpreted things ." Heartbroken, Jim apologizes for misinterpreting their friendship and discreetly wipes a tear from his cheek as he walks away . Jan leaves Michael and Carol, noticeably upset at the night's events, and it is revealed she packed an overnight bag in her car, implying she had planned to spend the night with Michael . Pam returns to the office and talks to her mother over the phone about Jim's statement . Jim enters the room and approaches her as she hastily hangs up . She begins to say something but Jim kisses her, and after hesitating, she returns the kiss, with the two staring at each other in silence . </P> <P> "Casino Night" was the first episode of the series written by Steve Carell . Initially, Carell suggested to executive producer Greg Daniels that an episode should revolve around a casino night . When it came time to plan the finale for the show, Daniels chose the idea and picked Carell to write the script . Parts of the script were fleshed out during the flights to and from New York City when the show was filming the earlier episode "Valentine's Day". Later, Carell had only one weekend to write the bulk script . Daniels was very happy with the rough script and noted "came in with a great draft". Jenna Fischer admitted that filming the episode was a relief because she had "been carrying around the secret cliff - hangers for two months". Toby Flenderson, who is portrayed by writer Paul Lieberstein, stated during the episode "I'm gonna chase that feeling" after winning at a game of poker . The line was originally intended to lead to a subplot wherein Toby develops a gambling addiction, but the storyline was later abandoned . </P>

Episode of the office where jim kisses pam