Added confirmation processing functionality