Could we get rid of the `if` statement? If it's empty, the next `for` just won't ever loop - which I think is ok