lab3 exercise 8 done