first pass edit