using udp
adding debug