main table is done and good