ABC has given a pilot order to Matthew Perry's new comedy series Mr. Sunshine, according to Variety.

If the pilot gets picked up, Perry would join fellow Friends alum Courteney Cox on the Alphabet net, which just gave her show Cougar Town, a sophomore order on Tuesday.

Mr. Sunshine centers on a San Diego sports arena manager who goes through a mid-life crisis when he turns 40.

The idea for the single-camera comedy came from Perry, who wrote the pilot with Alex Barnow and Marc Firek.

Thomas Schlamme is directing the pilot.