Mathmatical functions with pads

Hey, I`d like to be able to add and subtract a number with a keybang but I don’t know how to continue. I tried “saving” the result with a pad but i doesn’t work anymore as soon as I want to connect the second function. Does anyone knwo how to do this?

There are many ways to achieve that. The patch shows two I came up with off the top of my head.

AddAndSubtract.vl (28.9 KB)

Thank you so much!! It works now:)