add the keyboard interrupt