Could we use multiline if/else instead of ternary? I find it more readable and I think it is a bit more performant also.