removed timeout message
added reset() function to reset exiting_mode and the random number generator