Change createDataSet() parameters order