precompiler can handle streams