add example code to readme.