Meanwhile, Lt. Commander Data is motivated to explore the concept of humor after meeting Okona. Prompted by Guinan, Data uses the holodeck to generate a comedy club setting and stand-up comic (played by Joe Piscopo) as his adviser, but when he performs in front of the holographic audience, he is dismayed to find that they are predisposed to laugh at anything he says or does. Guinan cheers Data up by explaining that being able to laugh or make people laugh is not the final result to become human. As the "Enterprise" parts with Okona, Data is able to unintentionally make the crew laugh, but does not at first understand the joke himself.