To avoid confusion with the results list (which currently contains the input data, the output data and the transformed data in the middle), we should separate the results list, to different lists for input and output data. This change will make the Transformer code easier to understand and better to maintain.