also added the necessary confirm