got the input a bit better, however, how do we close the scanner, or even open after we've closed it