Add a working example and use in README