adding additional comments to function