added unit name to template