Working client example