finished exercise 19-e