set up template, rendering correctly