Finished exercise 39.