implemented functional arguments and data piping between reqs