Source code from a client demo