Made variable global