In the episode, Jimmy Carter is referred to as "history's greatest monster". In the 2004 Season 4 DVD commentary for this episode, show runners Mike Reiss and Al Jean reveal that they did not like Carter, although they would vote for him ahead of George W. Bush. Kwik-E-Mart operator Apu testifies in a courtroom scene in the episode that he is able to recite 40,000 decimal places of the number pi. He correctly notes that the 40,000th digit is the number one. The episode's writers prepared for this scene by asking David H. Bailey of the National Aeronautics and Space Administration (now at Lawrence Berkeley National Laboratory) for the number of the 40,000th decimal place of pi. Bailey sent them back a printout of the first 40,000 digits. The Troy McClure movie title "P is for Psycho" is Mike Reiss' favorite joke he ever wrote for "The Simpsons".