shortened examples code in README.md