More idiomatic to use an if here
Rename for readability