even better
fixing reversion
fixes #15 by adding a special flatten function
remove comment
build