Scanning and enumeration phase