moved DataType into DataDriver class