lab5 exercise 2 finished