add min and max