phasing out the *print* version of the gradient
Former-commit-id: d9941ed9a0c09f267161ea69f32f1274b7a714ff