formatted final bracket for else condition