-- assume the obj from last example obj.hello = function () print("Hello!") end obj.goodbye = function () print("I must be going.") end obj.hello() obj.goodbye()