Untested code, just to make sure brains are in sync.