allow multiple (>2) streams
Merge pull request #2 from finnp/multiple-streams

Allow multiple (>2) streams