Done with createData with covariates