Port the examples in README.md