Main streaming program