patch-3.0.99 main stream. (only needed/unused parts!!!)