make nativeFunc public