added basics for creating and processing input streams