Improved templates alternatives