made some comments in the controller