work on progress for the redistribution of the layout for the tables