new function call from ext