 The creators suggested to NBC that they would like to cast someone like Mahoney, to which NBC told them if they could get Mahoney, they could hire him without auditions.Both Grammer and the producers contacted Mahoney, with the producers flying to Chicago to show Mahoney the pilot script over dinner.Upon reading it, Mahoney accepted.