updated fetch_map for new data.py