local2global (wip)