small changes to ping