Wrote the data-model