resused existing code for name-table creation. changed CustomerID to SubmittedID