updated readme with a working sample