An exploration of teachers' mental processes