remove unneeded code, add reset button back