Learning examples

Change examples to match new style described in book