reaction - setting up gradients