Added binning to ml