set up beginning of table