close to the end of first pass