Correctly adding data to table now