add layout and show all data in table