proper way to check for streams. closes #8