added last state