mucking with templates