Update readme.md to describe how it works