small error with mean (used square bracket instead of parens)