new fct to refine probas