added comments to some things