Exercise 3 problems