Store state for each level