this function doesn't acually scans anything, it only reports and stores. We should use a better for this function.