pulled ping function out