can you change this to be a multi line if with brackets. i'd also like to not do this kind of if else around our codebase because it deviates from most other open source code we all use, and generally (especially in this case) is harder to read

/cc @calvinfo @ivolo cuz i think i've seen you using that style too recently