history_tuples corrected