added class to template