redesign CreateTable() and _IsValidRecords()