finished step 2 of hw2