displayHistogram added