fix the comments to correspond with the code