Fixing gradient snippet
Merging with origin