(wip) Works for a simple counter