mode Emulator finished but not tested