well, here I wanted to make sure that the original list is emptied in case it's referenced from somewhere else, not sure it's relevant right now, but it's kind of a coding habit