trying to make sockets work