add reset support