On the season premiere of Community, Abed fell into a deep depression upon learning Cougar Town had been cancelled. Britta brought him out of his funk by introducing him to a long running British television series called Inspector Spacetime, an obvious parody of Doctor Who complete the time travel cliches. In the the opening scene, the supporting character asks where they are and the lead character replies “the question isn’t where but when.” Consequently, it wasn’t a question of if Inspector Spacetime would be referenced again but when. During the credits of “Advanced Gay,” Abed and Troy reenact the scene with hilarious results (video below).