Completed exercise 2