templates for controllers