added emulator for ping detect