add missing treatment add min and max