add ping device method