inconsistent use of curly braces with one-liner conditionals, we should pick one and use it