This is my exercise 2.