correctly transition when inserted.