changed return value from streams