refactor to be clearer. Modify readme.md