changed sockets a little bit