test on outfile + debug output
merge with master