Why RR? Why not RF? I think you just need a Dir here, right? Why not directly pass dir? It will be much clear.