Added maximum value stat functionality