more work on tpacf