Changes to actually scan.