neth: use streams for inputs