the functions were primarily to introduce a separate scope for each example. There were many shared vars between the get/put/delete examples, and I wanted to show what you need at a minimum for each.