- added ping method to service