Finished the insert functions for the table