got my list comprehension the wrong way round