luabit api from tpt++