a few minor updates

changed debug output
and adopted some input variable ranges