merged results for hpf and rr functions