add class for calculating mean