rewrote ping