simplifying the max/min value: now it is possible only between 0.0 and 1.0