} else { ... should be on the same line