add example code to README