added rebinning example