Added line buffering
Added line buffering