variablized element with gradient