I prefer this formulation because it doesn't mutate `events` using an `if` statement, but rather binds the result of the `if` expression to it. But I would like it to be readable. Is there a way of writing it as an expression that would be more readable?