pedagogy learning objective code works