Teaching students to think