"Good Cop Bad Dog" is the 22nd episode of the American comedy television series Modern Family's second season and the 46th episode overall. The episode originally aired on May 11, 2011, on American Broadcasting Company (ABC). The episode was written by Abraham Higginbotham & Jeffrey Richman and was guest directed by former child star Fred Savage. It guest starred Lin-Manuel Miranda as Guillermo, the Grocery Store worker who tries to convince Jay to invest with him.