working through Lecture 10 migration problems