modified the linear gradient