modifications to switching rules.