Reading this, I find the process of building a list, modifying it, and extending it with a modified copy of itself confusing. Could we get rid of one or both modification steps and bear a little bit of repetition for the sake of clarity?