first comment: list comprehensions on the brain
second comment: dunno!  will take a look.