added comments to output