work with client server