Katie Holmes will appear on a special Halloween edition of ‘How I Met Your Mother,’ joining a long list of female personalities who have guest starred on the CBS sitcom.

Holmes will be playing the Slutty Pumpkin, a character referenced during ‘HIMYM’s’ first season when Ted talked about meeting her at a Halloween party, developing a crush on her, and then losing track of her. The Slutty Pumpkin was never shown on screen.