fix changelog
debug error message and TODO
better repr
code style
fix output expression
code style mutable arg
code doc
finished missing test