Histogram new functionality (in progress)