adding case toggling