added ping and echo