coding #1 modifying the controller again