Marge then takes Homer to the Calmwood Mental Hospital. Dr. Hibbert tells him that Ray does not exist; he was created by Homer's mind as Homer was feeling lonely and unappreciated because of the previous events he had endured. All the people that Homer thinks saw Ray - Bart, Ned, and the "Knockers" bartender - claim they did not, and Lisa reveals that "Ray Magini" is an anagram for "imaginary". Six weeks and several hours of shock therapy later, Homer is now sure that Ray does not exist. As he is being discharged, he sees Ray again in the room. Angered by the pain the "figment of his imagination" has caused him, he assaults him. In retaliation, Ray knocks Homer out and everyone is surprised they can see him too.