Since only one item gets returned, why not skip the variable, `last`, and returning it later? Just return it here, save a few lines.