logic base, pairs & ipairs overload