added print to ping.