Updated example and added it to README.md