patched the example driver