The Doctor travels back in time to catch a fellow time traveler with a time paradox while trying to stay one step ahead of the Torchwood Institute in Victorian times. The Doctor uses the unwritten work of Herbert George (HG) Wells to set and spring the time trap.