Added scanning boolean