removed legacy code from local_data.py