modified iswitchb