trying to get the templates to work