make possible use rpc aside of service