removed references to sockets