replaced ID with scannerType