resolved. left a single list comprehension in there because it seems very straightforward.