added templates and style