added the controller