output new
tests ongoing
some bugfixes