store record of mutation and migration in an array of arrays