Routes into student engagement as part of the pedagogical reasoning of teachers