Separated exercise 5 into two.