Implemented ChangeState