Corrections to the table model.
Also trying to get the data to be added.