removed unuseful storage of means and variances