sped up fetch_data.py