tinit can now take a luastate