add reset operation