rquery step as a new partial function.