tweak
move global variables