introduced a template parser idea, needs filling out