Her experience as a screenwriter taught her the basics of structuring a story, writing dialogue, and creating action sequences. Grafton then felt ready to return to writing fiction. While going through a "bitter divorce and custody battle that lasted 6 long years," Grafton imagined ways to kill or maim her ex-husband. Her fantasies were so vivid that she decided to write them down.