For SCANMAGIC