make display templating much nicer