got the templates to work