Histogram doesnt work