add templates and styling