moved changes to controller.js