toying with templates