client-server comminication working