controller template done