Add client code