class added to create new template