Revert "no gradient"

This reverts commit 4af440715be1946d1ed5ca2b7ebddfd20a31c967.