wait emulator