finished renumber method