Started a "state" data structure.