add final state