Teachers learn from their students’ discussions