added extra classes to template