hacked around with cmene
smoothened u=output
enhanced prettyprint