clustering and histograms done; working on othermethods