The elements of teaching