new native code for the bundling