Adding wait emulator