finish initial work for automatically inserting into proj table.