Completed exercise 5-3