finishing first pass