remove the sequence name parameter of getNextSequence(), as it is no longer used