Wouldn't this cause a problem if getSequence fails?