add reset btn and functionality