revised comments on controllers.js