still working on rs tpacf