Two months before "Punchline" went into production, Tom Hanks wrote a five-minute stand-up act and performed it at the Comedy Store in Los Angeles. As Hanks recalls, "it was pure flop sweat time, an embarrassment. That material lasted 1 minute 40 seconds, and it had no theme." Hanks tried again and again, sometimes hitting three clubs a night. It took a month before the actor "didn't sweat like a pig" on stage. By that point he had enlisted an old friend and comedy writer Randy Fechter and stand-up comic Barry Sobel to help him write his routine. Hanks ended up performing more than thirty times in clubs in Los Angeles and New York City.