sockets and serializer working