Designing the data model