work with old streams as well