Lab3 exercise 2