add some syntactic sugar to make templating easier