emulator stub