finished lab 2 exercise 4