adding changes to native code