native code refractor