use raf shim