changed scanning strategy