Transformation version 3: components are now separate for each dataset.