added use of global variables between activities