Glamorgan 445 for 7 (Goodwin 178, Wallace 86, Allenby 76) lead Leicestershire 203 by 242 runs
Murray Goodwin registered his fourth century of the season as Glamorgan scored 409 runs on day two of their LV= County Championship Division Two match against Leicestershire at Swansea to take control of the contest.
The 40-year-old, who reached 1,000 first-class runs for the season in the process of scoring 176, shared in significant partnerships with Jim Allenby (76) and Mark Wallace (86). It helped Glamorgan to 445 for 7 by the close, a first innings lead of 242.
Goodwin had come to the wicket nine balls into the Glamorgan innings in difficult conditions on day one and had reached 12 not out from 36 for 3 by the close. But on the second morning Goodwin and Chris Cooke were welcomed by sunshine and better batting conditions as they resumed 167 behind Leicestershire's 203 all out.
In the first hour the fourth wicket had realised 47 runs before Cooke edged an attempted cut behind off Ben Raine. But the runs kept on coming either side of lunch through Allenby - who required 59 runs to become Glamorgan's first batsman to 1,000 runs in first-class cricket this season - and Goodwin, who went to his 50 with his eighth boundary from 135 balls.
Former Leicestershire player Allenby lofted James Sykes for a straight six before clipping Alex Wyatt for four through midwicket, before Goodwin swept the spinner for two fours as Glamorgan reached tea at 153 for 4. After the interval Allenby completed his half-century from 77 balls and then reached 1,000 runs for the season as the 200 came up.
But after giving Glamorgan the lead the fifth wicket pair's contribution of 140 in 35 overs ended when Allenby edged behind.
Goodwin's vigil continued as he went to three figures - his fourth of the season and 71st of his career - from 218 balls with 14 fours as Glamorgan reached 307 for 5 at tea, an overall lead of 104.
Despite Leicestershire taking the second new ball the Glamorgan runs kept on coming as Goodwin and Wallace put on 189 in 39.2 overs before both batsmen were dismissed in the space of five balls
Goodwin edged Raine behind, going for 86 from 113 balls, before Goodwin was bowled attempting to sweep James Sykes. The former Sussex man went for 178 from 316 balls with 29 fours in an innings that lasted exactly 400 minutes. Before the close Graham Wagg struck two sixes off Sykes.