changed loop-in-loop to list comprehension method, removed extra comments