completed part 3 assignment 1