moving in params into init
updating template syntax