Converted confirm to data confirm