Getting OnHBO has finalized a deal for a second-season pickup of offbeat medical comedy Getting On, starring Laurie Metcalf, Alex Borstein, Niecy Nash and Mel Rodriguez. The order is for six episodes, matching the size of Getting On‘s first season. HBO brass had been high on the show, an adaptation of the BBC series, and had been looking to renew it contingent of sorting out budget issues. Well received by critics, Getting On was a modest ratings performer but also was a word-of-mouth success as it didn’t get a big marketing push at launch. It is unclear what the renewal will mean for CBS comedy pilot The McCarthys, which cast Metcalf as the female lead in second position while the HBO comedy’s fate was still up in the air.

Related: HBO Adapting British Thriller Drama Series ‘Utopia’ With David Fincher & Gillian Flynn

Adapted by Big Love creators Mark V. Olsen & Will Scheffer, Getting On takes an off-kilter look at dysfunctional staffers working in the female-geriatric wing of a beleaguered California hospital. Outrageous humor blends unexpected moments of tenderness and poignancy as they struggle with the darkly comic realities of tending compassionately to their aging charges in a run-down, red-tape-filled hospital facility. Olsen and Scheffer exec produce alongside Jane Tranter, Julie Gardner, Geoff Atkinson, Jo Brand, Joanna Scanlon and Vicki Pepperdine. The two other members of HBO’s 2013 freshman comedy class, Hello Ladies and Family Tree, are not going forward, with Hello Ladies getting a special. The renewal of Getting On comes on the heels of the network picking up half-hour pilots The Brink and Ballers to series.