added reset button and counter