updated pingc2 with debug