* Extracted a separate method for creating and adding cells to the layout