adding a tare function to a functiioning arduino scale

yes i have a pushbutton on a breadboard that goes into the d2 port on the arduino.