Separete invoke native code