udp test code added