mv promise to rpc