change scan method