added a working example in the README