Primitive version of udp working