unlocal global vars