finished step 7

i'll add the comments later
added comments to step 7