added a few comments in-line about changes