output each result in new line