story_number method added to db