adding streaming for simple processing