Spoilers for the midseason finale