udp version partially working
udp fix