client server mode works