Updated tuple.lua