first pass editing