commit as teacher