add native.c to define native functions