homework week 4. Part 2