Templates working correctly