done final state changes