Section 2: client code.