Put the else on the same line as the closing }.