variable 'found' added