controller.js added