Teacher gets what he deserves