rename some variables and edit README.md