add more example code to readme