Commented out but possibly useful gradient usage