ScanContext initialize method added