working on fill_osc_prob, not finished yet