please expand this list comprehension out into a regular forloop with an append