Remove the useless findNextID() function