still tweaking sockets