changed ping function