v 1.3 stream mode implementation