Changed code to use reusable cells.