The series Bad Education is a tour de force for 24-year-old British comedian Jack Whitehall (League of Their Own, Fresh Meat). He created the show, is one of the writers and stars in it as Alfie Wickers, the world's worst teacher.
The series took off like a rocket in the UK, scoring record ratings for the first episode of a comedy on BBC3, and a second series has already been made.
The first series will be shown here on UKTV and Whitehall said by phone from the UK that he had found it hard to concentrate at the beginning of the first series.
"In the first couple of episodes I was worried about the set and the costumes," he said. "There was a way that I saw it in my head and obviously, when you have written it, you have expectations. But then I realised you just have to concentrate now on giving the best performance."
Whitehall's Alfie is considerably less mature than his students at Abbey Grove School and they treat him with fond contempt. He lusts after fellow teacher Rosie Gulliver (Sarah Solemani), bouncing back like a rubber ball every time he gets slapped down.
The ditsy headmaster at the school is Shaquille Fraser, played by well-known comedian Mathew Horne, but the best lines in the show go to the unshockable deputy head, Isobel Pickwell (Michelle Gomez), the only person who has any control over the students.
As writer Whitehall does not hesitate to shock occasionally. In the first episode, a hungover Alfie rounds on tough boy Mitchell, who has teased another student, with the belittling: "Shut up, Mitchell, at least he knows who his dad is."
So was there any topic that he considered out of bounds or which caused complaint? "Yeah, there are tricky subjects and jokes that you have to be careful about.
"The main one that we had in the first series, the one that we did get in trouble for, was when we made a joke about badgers having TB. Apparently badgers can have TB but they are protected over here and there are societies to protect them. We got these aggressive emails telling us that we had encouraged badger hate crime.
"If you are ever writing for TV the most important piece of advice I have is never kill a badger. If you kill a swan then the Queen gets annoyed but if you kill a badger then a load of angry wildlife enthusiasts will descend on you."
Whitehall's success has come early and the question has to be did his acting connections help? His mother was an actress and his father was an actor's agent whose clients included Dame Judi Dench and Colin Firth. Whitehall's godfathers are actors Nigel Havers and the late Richard Griffiths (Harry Potter's uncle).
"My dad was an agent but they are notoriously unpopular people within the industry so a lot of bridges are actually burnt. He certainly didn't help in any way in getting a foot in the door.
"My godfathers helped but not so much because I chose comedy. It doesn't mean much in stand-up comedy if you come up and say you have Nigel Havers as a godfather. But recently people have started offering me acting parts and if the right thing came along I would do it."