lab2 exercise 4