Update README.md

The method signature wasn't obvious enough so I came up with an example to show how it can be used.