DOC add comments to min/max