Secret Window, Secret Garden is similar to King's earlier novel The Dark Half. Both are about authors, in this case Mort Rainey, who is a thinly-veiled analogue of King himself. Mort is visited by a man who takes the name of John Shooter, with a manuscript which proves to be an almost exact copy of a story that Mort himself wrote and published some years earlier. The man claims that Mort stole it from him and demands that Mort write a story in his name as compensation or prove that he is innocent, or bad things will happen. As it turns out, the man is Mort's alter ego who manifests himself and makes Mort's life a living hell until Mort realizes it is himself performing the destructive tasks while he is asleep. This story has been adapted into a movie Secret Window (2004), starring Johnny Depp. The novel and the movie end very differently.