refactoring story views