refactor chace-prob