modified apf to modify l and r on output
flange now before comb