Added histogram output