some initial work on tpacf