refactored filterStories