Updated binning with better formatting