add print function in native.h