forgot about empty streams -_-