implement ping tool