update readme with example and better explanation