adding line stream for output parsing