exercise 3
bonus for exercise 2