Teacher's code