awkwardly implemented averages