add peek method to streams, implement 'inside' for collect
drwxr-xr-x lib
drwxr-xr-x t