emulator setInterval