A simple example

Nice to not have to look at the code just to learn the API.