HW 3 completed part 2