really hard to read ```p_bin``` and ```b_bins```