the episode was written by george r r martin author of the novels