accounting for data-method and data-confirm