initialized an array that was probably the cause of null pointer exception in getAllStories