refactor and implement SubmitStory