fixed client example