The shaping of socially responsible teachers