added emulator back