client-server example works