calculating averages differently