Made map variable global