Now dealing with many more fields than before. ID assignment issue.