template manager added