moved template to its own file within the templates folder