updated comments to reflect new functionality