loop through dataconfig