client example with comments