added 3rd example with shim