try to achieve the scanner