added comments to updated functions