scalars can now return mean, mode, hist