break loop when/if we match