added metadata support for the confirm