Education and instruction in the heterogeneous class