updated the README and example