delete that print; was for testing
change position of GlobalMap::Set call