modify_scan method added