getNextSequence atomized