removing some code I was using to test gradients