coding #1 modifying the controller exceptions