minor change in getAverageVolume