Added a failure message so that it will notify of bad input.