changed some underscore chains to use list comprehension