1st pass 2nd stage