added ping sample