Renamed.
Add confirm function