example of object uses with lua.