removed duplicate list comprehension