Actually made map variable global