Adventures of a dissolute teacher