Fixed debug messages for input.
update example in readme