separete RPC and embedded calls