lab 7 part 1.6 and 1.7 done