log2k add ping function