made DataSet an outerclass