Add old ping code