output each word each line