a working example in readme