updated example code in README