refactor after adding averages