finished the data module