Dirk Gently's Holistic Detective Agency
written by Douglas Adams
part of Dirk Gently and The Hitchhiker's Guide to the Galaxy
This Book is inspired by City of Death
This episode of Doctor Who as well as another unaired episode named "Shada", both written by Douglas Adams, were the inspiration and bases of the plot and time-travel elements of this book.