Investigating the pedagogy of mathematics