implement first call to napi