rpa and tda