stupid, stupid absolute gradients finally working