testing for scanning