loop through multiple scans