ordered Output & cleanup