Fix snippet in README to run correctly in the shell
Started writing a new sample - incomplete