changed = to == in q_data ref_table_a_2