The original novel, "The Long Firm", contained five stories. "Red Hot Poker", "Dissolution Honours", "The Rank Charm School", "Jack the Hat" and "Open University". The first episode of the TV show, "Teddy's Story" was an amalgamation of "Red Hot Poker" and "Dissolution Honours". The episode "Rbuys Story" was an adaptation of "The Rank Charm School", "Jack the Hat" became "Jimmy's Story" and "Open University" became Lennys story. In "Jack the Hat", the main support character was the factual Jack "The Hat" McVitie. For legal reasons he could not be included, so the character of Jimmy was adopted from the first chapter of the book "Red Hot Poker", to replace Jack in this episode.