stream works on console