server side of ScanX