added more example code to readme.md