Updated currentMode type usage with trailing '_t'