-- Chapter 26 example: a counter object with the colon syntax. local counter = { count = 0 } function counter:step() self.count = self.count + 1 end counter:step() counter:step() counter:step() print(counter.count) -- 3 -- Try-this: add counter:reset() that sets self.count to 0, call it, -- then print counter.count again.