think you want a COMMIT in that loop