reset button now works