A small change to set the 'found' flag