done with first pattern on first pass