Add keeping else on same line as closing brace