improved confidential mode
import and export endpoints implemented