Added print in controller to debug