This could be more nicely written with `for/list`.