added basic switch for catching diff changes