streaming i/p. work in progress