Code that duplicates a function performed elsewhere-for example, code to sort a list that has already been sorted.