updating data structures in btc.py (probably still broken)