begin transforming input data