moving templates into partials