added min and max avgs