add reset button functionality