Implemented continuous scan.