parse the templates and beware