initial rpc program