sets up the rendering for the cells