update readme with example code