factory for stories and single story