line 39 create a new list.
line 41 also create a new list. You can just delete line 39. line 41 will create a list in all case where line 39  would to my knowledge.