made some progress on local graph vars