Can you please reformat this `if-else` block to be use `{}` and proper indention please?