I forgot to declare the all_data vector. No longer crashes.