in-progress if switch