Sean Hayes just nabbed an arc on the second season of NBC's Smash, where he'll appear alongside his former Will and Grace co-star, Debra Messing.

The Emmy-winning Hayes will play Terrence Falls, a comedic TV and film star making his Broadway debut. Smash centers around the production of a fictional Broadway show. Messing portrays a lyricist and writer, who helped create a musical based on Marilyn Monroe's life.

Hayes and Messing starred for eight years on Will & Grace, as a gay flake and a flaky interior designer, respectively. Read more here.