integrate client code with bismark-passive