added ping heartbeat