adding quick crude function pipeline