add further example code to README.md