revising how table for the data is stored