optimized with connected udp