finally got the averages working