Sorry to do this, but the original motivation to break this out was to avoid nested list comprehensions. Can you expand these please?