Implemented Gradients to the Alternating Effect