Completed exercise 3