change currentID() to nextID()