done with server-client socket communication