now have working sockets