to scope the scanner so it cannot be reused after