change how averages are calculated