change some names of variables and add some comments