ooo.lua re-drafted