added emulator