the boy was good so that he would get a watch mark

the student was in trouble unless he behaved

the boy was going to be in detention if  he proved his teacher wrong