This is an election contest. H. L. Stokely, incumbent, and M. M. Vicars were opposing candidates for the office of Mayor of the City of Brownsville. The election was held on November 1, 1955, and the official canvass of the returns showed that Vicars received 2355 votes, Stokely received 2338, and other persons received six votes. Vicars was declared winner with a majority of eleven votes. Stokely filed this contest, and after a thorough hearing, which included the opening of all the ballot and stub boxes, the trial court declared contestant Stokely the winner, 2,164 votes being for Stokely, 2,103 votes for Vicars, and four votes for other persons. Stokely won with a majority of fifty-seven votes. Vicars superseded the judgment and is serving as Mayor of Brownsville.
Contestant Stokely’s main complaint in the contest was that the ballots were not uniformly counted in all the precincts because of the unorthodox ballot used in the election. A sample ballot is set forth in the footnote.1 The third column, instead of providing a space for a “write-in” candidate, contained the command, “Write In Candidates.” The result was that many *602voters wrote the name of either Stokely or Vicars in the third column. Many voters then failed to scratch the printed name of the opposing1 candidate. The result was that many ballots contained an unscratched printed name and the name of one candidate written in longhand. For convenience, the trial court designated the ballots by three distinguishing terms. “Unscratched write-in” ballots were those on which a candidate’s name was written in the third column, but no printed name was scratched. The trial court treated those ballots as invalid and did not count them. Art. 8.21, V.A.T.S. Election Code. “Vicars-Vicars” ballots were those which had Vicar’s name written in the third column and Stokely’s name was scratched. “Stokely-Stolcely” ballots were those which had Stokely’s name written in the third column and Vicars’ name was scratched. The trial court counted the two latter types of ballots.
*601
*602Contestee, Vicars, has many points complaining of the court’s rulings on individual votes. Our first inquiry concerns con-testee’s point that the court erred in opening the boxes. Prior to ordering the boxes opened, evidence showed that the “unscratched write-in ballots” were treated differently by the various precincts. Seven precincts counted the ballots. In four of the precincts, the same kind of ballots were not counted. More than two hundred ballots of this kind were involved. There was proof that the same kind of ballots were treated differently in the eleven boxes.
Both parties agree that the “unscratched write-in” ballots were illegal, since two unscratched names appeared on the ballots. Art. 8.21, Election Code, Vernon’s Ann.Civ.Stats.; Mullins v. Powell, Tex.Civ.App., 273 S.W.2d 633; Roberts v. Epperson, Tex.Civ.App., 288 S.W. 595; Johnston v. Peters, Tex.Civ.App., 260 S.W. 911; Wright v. Marquis, Tex.Civ.App., 255 S.W. 637. With the vote so close between the candidates, with 200 votes subject to the charge that they were illegal, and with some thirty or forty other votes in question, the court did not abuse its discretion in ordering the boxes opened and recounted. State ex rel. Lukovich v. Johnston, 228 S.W.2d 327; Sewell v. Chambers, Tex.Civ.App., 209 S.W.2d 363; Meriwether v. Stanfield, Tex.Civ.App., 196 S.W.2d 704.
Contestee, Vicars, opposed opening the boxes and contended that their careless custody after the election, had exposed them to the probability of tampering. The election code provides that after an election the ballot boxes, stub boxes, and keys are to be delivered to certain different and designated custodians. The custody of these items was carefully traced and exhaustive testimony was adduced both challenging and protecting the integrity of the ballots. The trial court found as a fact:
“That after the votes were so counted in each voting precinct in said Election for Mayor of the City of Brownsville, Texas, held on November 1, 1955, the ballots voted and used in said election were placed in ballot boxes in said voting precincts, each respectively, and thereafter said ballots, together with the stubs, have been kept securely, and have not been tampered with, and are genuine, and are in the same condition as they were when cast, and the stubs, as when deposited in the stub boxes.”
This finding, together with the careful and minute investigation touching the preservation of the boxes, stubs, and keys, must be upheld. The pertinent provisions of the Election Code are directory. Lightner v. McCord, Tex.Civ.App., 151 S.W.2d 362; Fugate v. Johnston, Tex.Civ.App., 251 S.W.2d 792. Two other findings were that the boxes had been exposed to interference by interested persons. Taking the findings together and in support of the judgment, it follows that the trial court found that, though the boxes were exposed, the full evidence showed that they were in fact undisturbed. The record supports that conclusion. The Su*603preme Court in Davis v. State, 75 Tex. 420, 12 S.W. 957, 959, stated: “The testimony tended to show a possible opportunity for tampering with the boxes; but we do not think this sufficient to warrant a refusal to recount the ballots.” Accord, Ramsay v. Wilhelm, Tex.Civ.App., 52 S.W.2d 757; • Gray v. State, 92 Tex. 396, 49 S.W. 217; Henderson v. Albright, 12 Tex.Civ.App. 368, 34 S.W. 992. The court properly ordered the boxes opened.
Vicars’ next point is that the court erred in permitting Stokely to file amended pleadings. He argues that, even though the boxes were opened, the court should have restricted the inquiry to those matters which Stokely asserted in his original grounds. When the boxes were opened, it was discovered that many other votes, both those for Vicars and those for Stokely, were illegal, chiefly because the stubs were not signed. There were enough of these votes to control the election. Vicars takes the position that the court was limited to the grounds asserted in the- grounds stated at the time the boxes were opened, but that the court erred in permitting amendments to the pleadings after the boxes were opened.
The court did not abuse its discretion in permitting the amendments after the boxes were opened, for several reasons. The trial court did not commit error because Article 13.30(7), Election Code, grants the trial judge “wide discretion as to matters of pleading, procedure and admissibility of evidence”. The reason which the code gives for that broad discretion is “to subserve the ends of justice, rather than strict compliance with technical rules of pleading, procedure, and evidence.” See also, Art. 9.08, Election Code; Rules 62, 63, T.R.C.P. The trial court did not abuse the exercise of discretion nor defeat the ends of justice by permitting an amendment which required a true count after discovering a substantial number of illegal ballots. Bailey v. Fly, 97 Tex. 425, 79 S.W. 299; Meriwether v. Stanfield, Tex.Civ.App., 196 S.W.2d 704; Hutson v. Smith, Tex.Civ.App., 191 S.W.2d 779; Butcher v. Tinkle, Tex.Civ.App., 183 S.W.2d 227; Wilburn v. Galloway, Tex.Civ.App., 179 S.W.2d 540; Rogers v. Smith, Tex.Civ. App., 119 S.W.2d 678; Lightner v. McCord, Tex.Civ.App., 151 S.W.2d 362, 363.
Stokely’s pleadings, upon which the contest commenced, contained a prayer that the returns of the election be set aside, and “that the ballot boxes be opened by the Court, that the votes be counted, that all illegal and fraudulent votes cast in such election for said M. M. Vicars be subtracted * * * that all valid and legal votes cast for said H. L. Stokely that were not counted * * * be added to the poll of H. L. Stokely, and that after due hearing of this election contest, and after a correct count, tally and return * * * the Court announce the true result * * Contestee, Vicars, opposed the opening of any of the ballot boxes, but insisted before the trial court, that “if any box is opened, that all of the ballots in that particular box should be examined * * The record shows that, over contestant’s strong objection, contestee urged the trial court to match the stubs with the ballots. The court, in deference to the strong insistence of contestee, ordered the tedious and time-consuming task of matching the ballots and stubs for more than four thousand ballots in all the eleven precincts. The results prior to the investigation of stubs were unfavorable to contestee, who had already lost ground. The ensuing stub investigation further strengthened contestant’s position. Con-testee will not be heard to complain that the court erred in doing what he had urged the court to do. The court did not err in permitting the amendments to conform to the things proved.
Unsigned stubs were treated as invalid votes, by which contestee lost 164 votes and contestant lost 112 votes. This *604constituted a gain of fifty-two votes for Stokely. The unsigned stubs were invalid, and the trial court so treated them. Art. 8.15, Election Code, makes mandatory that the voter sign his stub when he votes in person. 15-B Tex.Jur., Elections, § 119; State ex rel. Barry v. Connor, 86 Tex. 133, 23 S.W. 1103. Accord, Miller v. Coffee, 118 Tex. 381, 15 S.W.2d 1036; Gross v. Helton, Ky., 267 S.W.2d 67. This procedure in voting is in keeping with the objectives sought by the Code. Arts. 1 and 6.05, Election Code.2 A voter must strictly conform to those things which he is required by statute to do. “The weight of authority is clearly in favor of holding the voter, on the one hand, to a strict performance of those things which the law requires of him, and on the other of relieving him from the consequence of a failure on the part of election officers to perform their duties according to the letter of the statute where such failure has not prevented a fair election.” McCrary, Elections, (4th Ed.) § 724; Davis v. Walcott, Tex.Civ.App., 96 S.W.2d 817. To hold that a voter’s signature on the stub is unnecessary would be to repeal the secret ballot law of Texas, which the Legislature has enacted.
At this point, contestant, Stokely, maintained a majority of fifty-seven votes over contestee, Vicars. Vicars urges that thirty-five votes were invalidly counted for Stokely. That many voters, instead of scratching individual names on the ballot, drew an X or otherwise marked through all the names listed in the column designated “Independent Candidates.” Vicars’ argument is that unless the lines actually touched the name “Vicars” it was not effective to scratch out his name, and the ballot would then contain the unscratched names of both Stokely and Vicars. The argument is not sound. Art. 6.06 of the Election Code permits a voter who desires to vote a ticket straight, to run a pencil or pen through all other tickets. The voters did that. Vicars reasons, however, that he was not running on a ticket, but as an independent candidate. His pleadings and adequate testimony show that the “Independent Candidates” campaigned and ran as a ticket. The most compelling reason that these votes should not be subtracted from Stokely’s majority is that the court counted more of the same kind of votes for Vicars than for Stokely. If Stokely loses this kind of votes, Vicars would correspondingly lose even more.
Eighteen other votes for Stokely were challenged on the grounds that the voters indicated their choice by using a check or X mark, though there was no square space beside the name in which the voters could make their X or check. The intent of the voter is manifested clearly enough, but it is urged that the absence of a square space on the ballot destroyed the votes. The ballots used in the election were . inartistically prepared. Art. 6.05, Election Code, provides for ballots which contain a square beside the names on the ballot. Art. 6.06, authorizes a voter to place a plus sign or an X or any mark which clearly shows his intention in the square beside the name. The intent of the voter is of compelling importance, and the fact that the form of the ballot was wrong does not invalidate the votes. Darby v. State ex rel. McCollough, Fla., 75 So. 411; State ex rel. Carpenter v. Barber, Fla., 198 So. 49.
Several voters who lived in Precinct 12 had poll tax receipts which showed they lived in Precinct 16. They in fact lived within the city limits, though the tax-assessor had experienced difficulty in ascertaining the true precinct boundaries by reason of an annexation election. A similar situation existed concerning three voters in Precinct 38. In our opinion, the mistake on the poll tax receipts was. occasioned by an innocent mistake and confusion about the boundary lines. Graham
*605v. Villareal, Tex.Civ.App., 242 S.W.2d 258; Tondre v. Hensley, Tex.Civ.App., 223 S.W.2d 671. The votes should have been counted for Vicars. However, these and the rest of the questioned votes are not sufficient to overcome the majority maintained by Stokely.
The judgment is affirmed.
. McCall, History of Texas Election Laws, 9 Vernon’s Ann.Civ.Stats., pp. XXVIII, XXIX.