Add an example in README and fix a typo