added ping feature