adding ping to scanner