add probabilistic switching