added ping support