Explain CreateDataTable() helper function