made pipe structure
after implementing pipe()