start of sockets changes