implements getAverageLevel