output function modification

update 2013-03-22 20:30