scanned callback