completed homework 4 part 2