prefer `} else if {` all on same line to keep with existing style.