update README.md; code clean up