nicer template formatting