first bits of an rpc method