Added a helper function to add a gradient stop value