make templates overrideable