delete scan method added