Failed attempt at list comprehension.
The previous commit worked fine without list comprehension. The next step will
be to create a simplified example and ask for help on reddit.