cleanup
change logging
input reader
debug output
more cleanup
log
simply return string
log it