output printing format is changed to line by line