first histogramm impelmentation (not functional)