restoring order