Modified Confirming function