add logging.  -1 should not be binary, it should be signed
add ascii representation