else needs to be on the same line as the closing }