test2.out was incorrect, fixed.  Now update ID to curID after we use it