else if should be on the same line with both opening and closing brackets.