add defs and gradient