add class AverageOnline.