hw 4 part 2, step 2