lab 2 up to exercise 3