added comments to several things