implemented ping operator