addded CONFIRMATION and API const in API class