resizing the table