some new functionality implemented, namely, figuring out a more reliable (but not more accurate), mean value