Designing the data tables