Adding end state