Sam Curran exhibited his six-hitting prowess and Jos Buttler made an enterprising 63 to help England overcome a top order collapse and post 285 in the first innings on the opening day of the second test against Sri Lanka on Wednesday.
England were reeling at 89-4 when Buttler somewhat steadied the innings before Curran clobbered six sixes in his blistering 64 to help them to a competitive score.
Sri Lanka lost Kaushal Silva in their wobbly reply to be 26-1 at stumps, trailing by 259 runs.
Dimuth Karunaratne was batting on 19 with Malinda Pushpakumara on one at the other end.
Earlier, England captain Joe Root won the toss and unsurprisingly elected to bat as the tourists, 1-0 up in the three-match series, sought to build on their victory in Galle last week.
Stand-in skipper Suranga Lakmal dismissed Keaton Jennings in the fifth over before the home side's spinners set about disrupting the rest of the top order.
England named an unchanged side but shuffled their batting lineup and Ben Stokes (19) was unable to justify his promotion to number three, the all-rounder surviving a review before succumbing to a second to be trapped lbw by Dilruwan Perera (4-61).
Root's struggle against left-arm spin, meanwhile, compounded England's crisis after the captain, dismissed twice by Rangana Herath in his farewell test in Galle, fell for 14 to Pushpakumara (3-89).
Rory Burns made 43 before being caught in the slips as England lost four wickets before the lunch break.
Buttler then counter-attacked, hitting Akila Dananjaya, who has been reported for a suspect bowling action but is free to play, for three successive boundaries en route to a run-a-ball 50.
Buttler moved quickly to 63 before a fluffed reverse sweep against Pushpakumara led to his dismissal.
Ben Foakes was unable to match his Galle heroics and was caught behind for 19, bizarrely failing to review the decision as replays showed he had not touched the ball with bat or glove.
Curran then lit up the final session with his binge-hitting, bringing up his third test fifty with his fifth six.
The left-hander dominated his 60-run partnership for the final wicket -- the only 50-plus stand in the England innings -- with James Anderson before being the last man out.
Sri Lanka made two changes with Herath retiring and regular skipper Dinesh Chandimal ruled out with a groin injury.
Pushpakumara and Roshen Silva were brought in as the hosts battle to stay alive in the three-test series.