added jni stab