move ext using to cpp