add LUA_FUNCTION for lua function