completed HW 7b on thurs 10/2