local p = {} p.main = function(frame) args = frame.args if args[1] then return args[2] else return args[3] end end return p