switched from udp to tcp