generate cells to panel