committing finished exercise 5