Now calculates max, min, avg