print debug to stderr
print output to suitable format
ignores
add readme