gradient now works