confirmation function addition