removed inject for iterating over the array of cells