Doutput improvements