including client-server mode