Mamet's script began as an adaptation of his friend William J. Caunitz's novel "Suspects", but the more Mamet wrote the more his story diverged from the book until it ultimately became an original screenplay.