start working with rpc