add reset to perform sweep