modify scanner