Change the way of scanning.