removed white space for he histogrammethod