add eltype to streams