streaming works (but there are still some bugs)