delete_result = function(from, to) for i=1,#Global_state.results do if eq(Global_state.results[i], {from, to}) then table.remove(Global_state.results, i) end end end