added template styles