Completed step 8 of assignment 2