put all data into a table