stat min and max