changes in controller template