client code integration