During the experiment, the groups of ants acted together in a calculated and strategic manner, showing a great collective memory.