created readble stream function
created third stream
created writable stream