object operations finished exercise with comments