add ping feature