changes needs to have an array of arrays