frequency histogram v1.0