Modified beginBlock() for table cell creation