pep8 passed
can catch the KeyboardInterrupt exception