GRADIENT WORKS, still needs a little clean up