the transform being operated outside the prediction loop