- Replace was**** with currentMode enum,