By Helen Regan
February 3, 2015

Tuesday’s episode of The Mindy Project will be the last time we get to see the hilarious Dr. Peter Prentice, played by Happy Endings star Adam Pally, as a series regular.

But it won’t be the last we see of the doctor, as he will be popping up to make semi-regular guest appearances on the show, Entertainment Weekly reports.

In an exclusive clip of Tuesday’s half-hour episode, Prentice is conducting an intimate examination on Mindy (Mindy Kaling, The Office) while venting his romantic problems with brain surgeon Lauren (Tracey Wigfield).

Watch the clip at Entertainment Weekly.

The Mindy Project airs on Tuesday at 9:30 p.m. E.T. on Fox.

Write to Helen Regan at


Read More From TIME