input stream creator for stream work