Use the changed method instead of checking the state of the array.