added complete example to the readme