cleaned up teaching