minor changes and additions to templating and styles