added 3 for loops to make more than 1 copy of cell