while loop dom gradients!