use old globals way