teacher's program and some changes on mine