compensate for state being 2x longer when a dict rather than a list