Working on simple streams lib