finished exercise 1.22\!
snapshot