controller is working properly