completed exercise 40