added reset button and stuff