First version of inserting data into table.