fixed output D to be more in relation to the story.