Can now properly set templates