added verbose output in case of wrong input, fixed bug in the output-logic
one line removed